<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/12/24
  Time: 15:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.3/jquery.js"></script>
    <link rel="stylesheet" href="/static/bootstrap-4.6.2-dist/css/bootstrap.css">
    <script src="/static/bootstrap-4.6.2-dist/js/bootstrap.bundle.js"></script>
    <style>
        body {
            background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
        }
    </style>
</head>
<body>
<div>
    <form action="/user" method="post" style="width: 300px;height:auto;margin:20px auto">
        <h3><img src="/static/logo.png"> 成绩管理系统</h3>
        <div class="form-group">
            <label for="exampleInputEmail1">账号</label>
            <input type="text" name="username" class="form-control" id="exampleInputEmail1"
                   aria-describedby="emailHelp">
            <c:if test="${!empty msg}">
                <small id="emailHelp" class="form-text text-muted"> ${msg}</small>
            </c:if>
        </div>

        <div class="form-group">
            <label for="exampleInputPassword1">密码</label>
            <input type="password" name="password" class="form-control" id="exampleInputPassword1">
        </div>
        <button type="submit" class="btn btn-primary">登录</button>
    </form>
</div>

</body>
</html>
